﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="apple-itunes-app" content="app-id=591578609">
<meta name="viewport" content="width=device-width"/>
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<meta name="description" content="筑学堂网校" />
<meta name="keywords" content="筑学堂网校、建筑、考试"/>
<link rel="stylesheet" type="text/css" href="${csspath}style/my_plat.css">
<link rel="stylesheet" type="text/css" href="${csspath}style/my_course.css">
<link rel="stylesheet" type="text/css" href="${csspath}style/tab.css">
<!--[if IE 7]>
<link rel="stylesheet" href="/css/font-awesome/css/font-awesome-ie7.min.css">
<![endif]-->
<script type="text/javascript" src="${csspath}js/study.js"></script>
<title>筑学堂家园个人空间</title>
<style type="text/css">
a {
	color:#222;
	text-decoration:none;
}
ul li {
	border:0;
	list-style-type:disc;
	margin:0;
	padding:0;
}
ol li {
	list-style-position:inside;
}
</style>
</head>
<body style="align:center; padding:0;margin:0;clear:both; background-color:#F7F7F7;">

<!--顶部导航-->

<div class="user_top">
	<iframe src="../../../common/header" width="100%" height="100%"  frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes"></iframe>
</div>

<!--end顶部导航-->

<div class="course_topicbody" style="min-height:700px;height:auto;">
	<div class="course_topic"> 我的学堂&gt; <a href="#" style="color:#0A8CD2">我的课程</a> &gt;作业 </div>
	<div style="position:relative;float:left;width:96%;background-color:#FEFEFE;padding:10px;text-align:left;">
		<div style="position:relative;float:left;width:99%;height:25px;background-color:#F7F7F7;font-size:14px;text-indent:1em;margin-bottom:10px;">
		作&nbsp;&nbsp;业
		</div>
		<script type="text/javascript">
			function Show_Hidden(answ) {
	            if(answ.style.display=='block'){ // == 判断div.display是否为显示
	                answ.style.display='none'; //= 赋值也可了解成改变
	            } else{
	                answ.style.display='block';
	            }
			}
		</script>
		
		<div style="position:relative;float:left;left:20px;width:95%;line-height:25px;">${homework.homeworkName}
			作业形式：文本形式，发布作业者自行编辑<br/>
			<p>${homework.homeworkTxt}</p>
		</div>
	</div>
	
	<div style="position:relative;float:left;width:96%;padding:10px;text-align:left;">
		<a href="#" onClick="Show_Hidden(ans)">
			<div class="class_member">
			查看答案
			</div>
		</a>
	</div>
	
	<div id="ans" style="position:relative;float:left;width:96%;background-color:#FEFEFE;padding:10px;text-align:left;display:none;">
		${homework.homeworkAnswer}
	</div>
</div>


 <%@ include file="../all_buttom.jsp"%>

</body>
</html>